package com.vegetable.modules.entity.outbound.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 销售订货
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="调拨单列表查询对象", description="调拨单列表查询对象")
public class AllocationOrderQueryPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "调入仓库名称")
    private String inWarehouseNameLike;

    @ApiModelProperty(value = "调出仓库名称")
    private String outWarehouseNameLike;

    @ApiModelProperty(value = "查询开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date orderTimeStart;

    @ApiModelProperty(value = "查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date orderTimeEnd;

    @ApiModelProperty(value = "当前页码")
    private Integer current = 1;


    @ApiModelProperty(value = "每页显示记录数")
    private Integer size = 10;
}
